<?php

//table names
define('TABLE_PREFIX','library_');
define('TBL_ADDRESSES',TABLE_PREFIX . 'addresses');
define('TBL_AUTHORS',TABLE_PREFIX . 'authors');
define('TBL_AUTHORS_BOOKS',TABLE_PREFIX . 'authors_books');
define('TBL_LANGUAGES',TABLE_PREFIX . 'languages');
define('TBL_BOOKS',TABLE_PREFIX . 'books');
define('TBL_NEWS',TABLE_PREFIX . 'news');
define('TBL_REQUESTS',TABLE_PREFIX . 'requests');
define('TBL_ROLES',TABLE_PREFIX . 'roles');
define('TBL_LOCATIONS',TABLE_PREFIX . 'locations');
define('TBL_USERS',TABLE_PREFIX . 'users');
define('TBL_BORROWINGS',TABLE_PREFIX . 'borrowings');
define('TBL_BOOK_PRINTS',TABLE_PREFIX . 'book_prints');
define('TBL_GENRES',TABLE_PREFIX . 'genres');
define('TBL_GENRES_BOOKS',TABLE_PREFIX . 'genres_books');


//hash junk
define('HASH_JUNK','|-|â‚¬$L0---');

//html new line
define('BR','<br />');

//access denied message
define('ACCESS_DENIED','<p class="error">You are not allowed to entry this section.</p>');

//id role
define('ROLE_ADMIN_ID',1);
define('ROLE_EMPLOYEE_ID',41);
define('ROLE_USER_ID',21);

//role
define('ROLE_ADMIN',100);
define('ROLE_EMPLOYEE',75);
define('ROLE_USER',50);
?>
